package book.service;

import book.entity.privileges;
import book.entity.role;
import book.entity.role_privileges;

import java.util.List;

public interface PrivilegesService {

    List<privileges> getAll();


    void delete(int id);


    privileges getById(int id);

    int getCount();

    void insert(role_privileges role);
}
